package com.authine.cloudpivot.web.api.service.impl;

import com.authine.cloudpivot.web.api.dao.DemandUpdateMapper;
import com.authine.cloudpivot.web.api.service.DemandUpdateService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: zyj
 * @time: 2022/2/11 18:45
 */
@Slf4j
@Service
@Transactional
public class DemandUpdateServiceImpl implements DemandUpdateService {

    @Autowired
    private DemandUpdateMapper demandUpdateMapper;

    @Override
    public Integer addDjxqUpdateData(List<Map<String, Object>> bgMaps) {
        return demandUpdateMapper.addDjxqUpdateData(bgMaps);
    }

    @Override
    public Map<String, String> getColumnName(String code, String schemaCode) {
        return demandUpdateMapper.getColumnName(code,schemaCode);
    }

    @Override
    public Integer addZpxqUpdateData(List<Map<String, Object>> bgMaps) {
        return demandUpdateMapper.addZpxqUpdateData(bgMaps);
    }

    @Override
    public Integer addZxxqUpdateData(List<Map<String, Object>> bgMaps) {
        return demandUpdateMapper.addZxxqUpdateData(bgMaps);
    }
}
